function results = TestMoreLLE(stego, cover, trntst, loop, a, kmat, dmat)
if nargin < 3
    trntst = 0.5;
end
if nargin < 4
    loop = 12;
end
if nargin < 5
    a = 1;
end
if nargin < 6
    kmat = [150];
end
if nargin < 7
    dmat = [10, 60, 90];
end
nkmat = length(kmat);
ndmat = length(dmat);
results = zeros(nkmat, ndmat);

for nd = 1:ndmat
    d = ndmat[nd];
    for nk = 1:nkmat
        k = nkmat[nk];
        fprintf(1, 'k = %d, d = %d\n, round %d', k, d, i);
        trainDatad = slle(trainData',trainLabel,KK,DD,a);
        testDatad = deTestD(trainData',testData',trainDatad,KK);
        result = ensemble_test(stego, cover, 0, trntst, loop, 3, 1);
        results[k, d] = result.avg_err;
    end
end
